import { devHttp } from '@/services/clienthttp.js'
const $http=devHttp;

/**
* 公告信息查询
*/
export const getProgramNoticeInfo = (params) => {
	return $http.post('open/getNoticeInfo',params)
};

/**
* 小程序留言信息新增
*/
export const postProgramCreateLeaveMeassage = (params) => {
	return $http.post('program/createLeaveMeassage',params)
};

/**
* 意向单操作接口(添加)
*/
export const postProgramCustomerIntention = (params) => {
	return $http.post('open/customerIntention',params)
};

/**
* 小程序用户信息查询
*/
export const postProgramSmallProgramUsers = (params) => {
	return $http.post('program/smallProgramUsers',params)
};


/**
* 小程序用户信息查询
*/
export const postProgramSmallProgramUser = (params) => {
	return $http.post('api/smallProgramUsers',params)
};

/**
* 小程序客户信息查询
*/
export const postProgramQueryRasClientInfo = (params) => {
	return $http.post('program/queryRasClientInfo',params)
};

/**
* 意向单查询
*/
export const getProgramCustomerIntention = (params) => {
	return $http.post('open/getCustomerIntention',params)
};

/**
* 合同信息查询
*/
export const getProgramContractInfo = (params) => {
	return $http.post('program/getContractInfo',params)
};

/**
* 报告信息查询
*/
export const postProgramReportAttachmentInfo = (params) => {
	return $http.post('program/reportAttachmentInfo',params)
};

/**
* 发票信息查询
*/
export const getProgramBillingInfo = (params) => {
	return $http.post('program/getBillingInfo',params)
};

/**
* 小程序留言信息查询
*/
export const getProgramQueryLeaveMeassage = (params) => {
	return $http.post('program/queryLeaveMeassage',params)
};

/**
* 获取小程序手机号码(登录接口)
*/
// export const getProgramApiNumber = (params) => {
// 	return $http.post('api/getApiNumber',params)
// };


/**
 * 
* 获取小程序openID和手机号码获取openId(登录接口)
*/
export const postSmallProgramUsers = (params) => {
	return $http.post('api/getSmallProgramUsers',params)
};


/**
* h5手机号码(登录接口)
*/
export const getProgramNumber = (params) => {
	return $http.post('api/getNumber',params)
};

/**
* 获取手机密钥
*/
export const getProgramEncryptNumber = (params) => {
	return $http.post('api/encryptNumber',params)
};

/**
* 根据领域获取token
*/
export const getProgramApiToken = (params) => {
	return $http.post('api/getApiToken',params)
};

/**
* 小程序样品寄送信息查询
*/
export const getProgramQuerySampleShipping = (params) => {
	return $http.post('program/querySampleShipping',params)
};

/**
* 小程序样品寄送新增
*/
export const getProgramAddSampleShipping= (params) => {
	return $http.post('program/addSampleShipping',params)
};

/**
* 委托单信息查询接口
*/
export const getProgramDelegationInfo = (params) => {
	return $http.post('program/getDelegationInfo',params)
};

/**
* 委托单费用信息查询接口
*/
export const getProgramDelegationFee = (params) => {
	return $http.post('program/getDelegationFee',params)
};

/**
* 委托单样品信息查询接口
*/
export const getProgramDelegationSamples= (params) => {
	return $http.post('program/getDelegationSamples',params)
};

/**
* 委托单样品测试信息查询接口
*/
export const getProgramDeleOrderTest = (params) => {
	return $http.post('program/getDeleOrderTest',params)
};

/**
* 报价单信息查询接口
*/
export const getProgramQuotationInfo = (params) => {
	return $http.post('program/getQuotationInfo',params)
};

/**
* 报价单样品信息查询接口
*/
export const getProgramQuotationSamples = (params) => {
	return $http.post('program/getQuotationSamples',params)
};

/**
* 报价单费用信息查询
*/
export const getProgramQuotationFee = (params) => {
	return $http.post('program/getQuotationFee',params)
};

/**
* 报价单样品测试信息查询
*/
export const getProgramQuotationOrderTest = (params) => {
	return $http.post('program/getQuotationOrderTest',params)
};


